<template>
  <div>
    <el-table :data="tableData" border show-summary style="width: 100%">
      <el-table-column type="index" label="排名" width="100"> </el-table-column>
      <el-table-column prop="name" label="搜索关键字"> </el-table-column>
      <el-table-column prop="amount1" sortable label="用户数">
      </el-table-column>
      <el-table-column prop="amount2" sortable label="周涨幅">
      </el-table-column>
    </el-table>
  </div>
</template>

<script>
export default {
  data() {
    return {
      tableData: [
        {
          name: "衣服",
          amount1: "234",
          amount2: "3.2",
        },
        {
          name: "电脑",
          amount1: "165",
          amount2: "4.43",
        },
      ],
    };
  },
};
</script>

<style lang="less" scoped>
</style>